<?php get_header(); ?>

			<?php if (have_posts()) : ?>	
				<?php while (have_posts()) : the_post(); ?>
					<div class="post clearfix"><div class="post-data">						
								<ul>
									<li class="date-author"><?php the_time('F jS, Y') ?></li>
									<li class="date-author">Posted by <strong><?php the_author() ?></strong></li>
								</ul>
							</div> <!-- end post-data div class --><div class="clear"></div>
							<h2 class="post-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
							<div class="the_comment"><?php comments_popup_link('0', '1', '%'); ?></div>
						
							
						
							<div class="entry theentry clearfix">
								<?php the_content('<div class="more"><p>Continue Reading [+]</p></div>'); ?>
							</div>	
							
							<div class="clear"></div>
					</div><!-- end post clearfix div class-->
					
					<br class="clear" />
					
 				<?php endwhile; ?>
				
				<div class="clear"></div>
				<div class="navigation">
            		<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?>
            		<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
            		<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
            		<?php } ?>
				</div>
				<div class="clear"></div>
				<?php else : ?>
					<div class="post clearfix">
						<h2>Not Found</h2>
						<p>Sorry, but you are looking for something that isn't here.</p>
					</div>

				<?php endif; ?>
				
		</div><!-- end id="page" -->
		
        <?php get_sidebar(); ?>
		<?php get_footer(); ?>